$main-color: #161535;
$second-color: #201a48;
$text-color: #f3b652;

* {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

body {
  background-color: $main-color;
  position: relative;
}

.dialog {
  position: fixed;
  width: 291px;
  height: 349px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background-image: url(../images/winning.jpg);
  display: none;
  .close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
  }
  .title {
    margin-top: 70px;
    color: #d80e0e;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
  }
  .ok {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    width: 193px;
    height: 46px;
    line-height: 46px;
    background-image: url(../images/btn_01.jpg);
    text-align: center;
    cursor: pointer;
    color: #a44900;
    font-size: 22px;
    font-weight: 700;
  }
}

.mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba($color: #000000, $alpha: 0.5);
  z-index: 888;
  display: none;
}

.header {
  background: url(../images/bg.jpg) no-repeat center center/cover;
  height: 420px;
  min-width: 1200px;
  .top {
    background-color: rgba($color: #000000, $alpha: 0.1);
    height: 72px;
    line-height: 72px;
    .logo {
      float: left;
      margin: 20px;
      cursor: pointer;
      a{
        display: block;
        width: 104px;
        height: 30px;
        background-image: url(../images/logo.png);
        font-size: 0;
      }
    }
    .nav {
      float: left;
      li {
        float: left;
        a {
          display: inline-block;
          padding: 0 15px;
          color: #fff;
          &:hover {
            color: $text-color;
          }
        }
        .current {
          color: $text-color;
        }
      }
    }
    .user {
      float: right;
      li {
        float: left;
        a {
          padding: 0 10px;
          color: #ccc;
          &:hover {
            color: $text-color;
          }
        }
      }
    }
    .language {
      float: right;
      margin: 0 30px;
      a {
        color: #ccc;
      }
    }
  }
  .middle {
    color: #fff;
    text-align: center;
    .title {
      letter-spacing: 8px;
      margin-top: 100px;
      font-size: 40px;
      font-weight: 700;
      span {
        margin-left: 30px;
        font-size: 40px;
        font-weight: 700;
        color: #5dbcfd;
      }
    }
    p {
      margin: 10px 0;
    }
  }
  .bottom {
    margin-top: 50px;
    color: #c47d00;
    text-align: center;
    font-weight: 700;
    .left, .right {
      display: inline-block;
      width: 270px;
      padding: 10px 0;
      background-color: #fcbe47;
      margin: 0 20px;
      border-radius: 5px;
      cursor: pointer;
      span {
        display: block;
        color: #a44900;
        font-size: 18px;
      }
      &:hover span {
        text-decoration: underline;
      }
    }
  }
}

.container {
  overflow: hidden;
  width: 970px;
  margin: 0 auto;
  color: #fff;
  position: relative;
  .notice {
    text-align: center;
    color: #fff;
    margin: 30px 0;
    background-color: $second-color;
    padding: 12px 0;
    img {
      margin-right: 6px;
      vertical-align: middle;
    }
  }
  .left {
    position: relative;
    float: left;
    width: 660px;
    height: 600px;
    background-color: $second-color;
    img {
      position: absolute;
      &:first-child {
        top: 25px;
        left: 55px;
      }
      &:last-child {
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        cursor: pointer;
      }
    }
    #disk {
      transform-origin: center center;
      transition: all 4s;
    }
  }
  .right {
    float: right;
    width: 275px;
    height: 600px;
    background-color: $second-color;
    .top {
      position: relative;
      background-color: #4e3eb4;
      color: #fff;
      width: 180px;
      height: 36px;
      line-height: 36px;
      border-radius: 18px;
      margin: 20px auto;
      text-align: center;
      span {
        color: #e4a345;
        margin: 0 4px;
      }
      &::after, &::before {
        position: absolute;
        width: 10px;
        height: 10px;
        content: "";
        border-radius: 50%;
        background-color: #4e3eb4;
        top: 50%;
        transform: translateY(-50%);
      }
      &::after {
        right: -20px;
      }
      &::before {
        left: -20px;
      }
    }
    .r_bottom {
      padding: 15px;
      text-align: center;
      .title {
        overflow: hidden;
        span {
          display: inline-block;
          width: 50%;
          float: left;
          color: #6558b3;
          font-weight: 700;
          padding: 10px 0;
          border-bottom: 2px solid rgba($color: #000, $alpha: 0.1);
        }
      }
      ul {
        span {
          display: inline-block;
          width: 50%;
          float: left;
          padding: 10px 0;
          border-bottom: 2px solid rgba($color: #000, $alpha: 0.1);
        }
      }
    }
  }
  
}

.rule {
  color: #fff;
  width: 970px;
  margin: 30px auto;
  overflow: hidden;
  h3 {
    margin: 20px 0;
    font-size: 34px;
    color: #5dbcfd;
    letter-spacing: 5px;
  }
  p {
    color: #9b96bf;
    line-height: 28px;
    span{
      color: #2f81e9;
    }
  }
}

.footer {
  margin: 0 auto;
  padding: 60px 0;
  background-color: #17181b;
  overflow: hidden;

  .main {
    width: 1200px;
    margin: 0 auto;
    dl {
      float: left;
      text-align: left;
      line-height: 36px;
      margin-left: 70px;
      dt {
        color: #9c9c9d;
        font-size: 20px;
        margin-bottom: 20px;
      }
      dd {
        color: #3e3f44;
      }
    }
    .f_right {
      float: right;
      color: #47484d;
      text-align: right;
      .icon {
        margin-top: 34px;
        overflow: hidden;
        img {
          float: right;
          margin-left: 20px;
        }
      }
      p {
        margin-top: 34px;
      }
    }
  }
}